package org.msfj.common.enums;

/**
 * 性别
 * Created by yangyan on 2016/10/13.
 */
public enum RoleType implements CodeValueEnum<Integer> {


    SERVICE(1, "业务角色"),
    MANAGER(2, "管理角色"),
    SYSTEM(3,"系统内置角色");
    Integer code;
    String value;

    RoleType(Integer code, String value) {
        this.code = code;
        this.value = value;
    }


    @Override
    public String getValue() {
        return value;
    }

    @Override
    public Integer getCode() {
        return code;
    }
}
